import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

export type DatabaseInfo = {
  id: number;
  changeTime: any;
  connection: string;
  dbType: string;
  desc: string;
  isConnection: boolean;
  isExist: boolean;
};

/**
 * @description: get params
 */

export type DatabaseParams = {
  desc: string;
} & BasicPageParams;

/**
 * @description: Get database return value
 */
export type DatabaseListResultModel = BasicFetchResult<DatabaseInfo>;
